package Componente;

import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JPanel;

public class CompBoton extends JButton 
{
	public CompBoton(String etiqueta, JPanel panel, ActionListener evento,String ubicacion ) 
	{
		super(etiqueta);
		this.addActionListener(evento);
		panel.add(this, ubicacion);
	}
}
